home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Graphics / Ultraconv / Install < prev    next >
Text File  |  1997-12-06  |  3KB  |  116 lines

  1. ;; Ultraconv NG Demo-Installation utility
  2. ;; (C) 97 by Felix Schwarz
  3. ;; This script bases mainly on the UConv 1.x-script (C)1996 by Felix Schwarz
  4.  
  5. (set @default-dest "")
  6. (set @pretend 0)
  7. (set @user-level 2)
  8. (complete 0)
  9. (if (= @language "deutsch")
  10.  (
  11.    ; Let`s use German as language
  12.    (set #welcome "\n\n\n\nUltraconv 2.1 NG\n© 1995-97 by Felix Schwarz\n\n\nWillkommen zum UConv 2.1 NG Installationstool\nDieses Script wird Ultraconv auf Ihre HD installieren\n")
  13.    (set #askinstall "Wo wollen Sie UConv installieren ?\n(Ein Verzeichnis wird dort erzeugt werden)")
  14.    (set #addline "Eine Zeile muß zu Ihrer user-startup hinzugefügt werden:\n")
  15.    (set #ready "Ultraconv ist nun auf Ihrer HD in folgendem Verzeichnis installiert:\n")
  16.    (set #enjoy "Viel Spaß!")
  17.    (set #cputxt "Für welche CPU sollen optimierte Versionen\ninstalliert werden ?\n(nicht in der Demoversion)")
  18.    (set #ix "\nWICHTIG!!\n\nSie MÜSSEN die ixemul.library installiert haben,\nsonst funktionieren die JPEG und MPEG-Funktionen nicht!!")
  19.  )
  20.  (
  21.    ; Let`s use English as language
  22.    (set #welcome "\n\n\n\nUltraconv 2.1 NG\n© 1995-97 by Felix Schwarz\n\n\nWelcome to the UConv 2.1 NG installation utility\nThis script will install Ultraconv on your HD\n")
  23.    (set #askinstall "Where do you want to install UConv ?\n(A directory called Ultraconv will be created there)")
  24.    (set #addline "One line has to be added to your user-startup:\n")
  25.    (set #ready "Ultraconv is now installed on your HD at:\n")
  26.    (set #enjoy "Enjoy it!")
  27.    (set #cputxt "For which CPU shall I install an optimised version ?\n(not in the demo-version)")
  28.    (set #ix "\nIMPORTANT!\n\nYou MUST have ixemul.library installed,\notherwise JPEG and MPEG-functions won`t work!")
  29.  )
  30. )
  31.  
  32.  
  33. ; Ok, let`s begin with a small greeting!
  34. (message #welcome
  35. )
  36.  
  37. (set #installdir
  38.     (askdir
  39.         (prompt #askinstall)
  40.         (help @askdir-help)
  41.         (default "Work:")
  42.     )
  43. )
  44.  
  45. (copyfiles
  46.     (source "/")
  47.     (dest #installdir)
  48.     (pattern "Ultraconv#?")
  49. )
  50. (complete 65)
  51. (set #delfile
  52.    (tackon #installdir "Ultraconv/Install")
  53. )
  54.  
  55. (set #delfile2
  56.    (tackon #installdir "Ultraconv/Install.info")
  57. )
  58.  
  59. (delete #delfile)
  60. (delete #delfile2)
  61.  
  62. (set #assdir
  63.   (tackon #installdir "Ultraconv")
  64. )
  65.  
  66. (set #scomm
  67.   (cat "Assign UConv: " #assdir)
  68. )
  69.  
  70. (complete 70)
  71.  
  72. (startup "Ultraconv"
  73.   (prompt #addline
  74.           #scomm)
  75.   (help "It must be added in order to run UConv properly!")
  76.   (command #scomm)
  77. )
  78.  
  79. (makeassign "UConv" #assdir)
  80.  
  81. (complete 80)
  82.  
  83. ; Now let`s install the CPU-optimised parts for faster conversion!
  84. (set #cpu2 (database "cpu"))
  85. (if (= #cpu2 68000) (set #cpu 0))
  86. (if (= #cpu2 68010) (set #cpu 0))
  87. (if (= #cpu2 68020) (set #cpu 1))
  88. (if (= #cpu2 68030) (set #cpu 2))
  89. (if (= #cpu2 68040) (set #cpu 3))
  90. (if (= #cpu2 68060) (set #cpu 3))
  91.  
  92. (if (= @installer-version 0)
  93.   (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu 3) )
  94. )
  95.  
  96. (set #cpuvers (askchoice (choices "68000/68010" "68020" "68030+68881" "68040+68882/68060+68882")
  97.               (prompt #cputxt)
  98.               (help   "68000-version does work on ALL Amigas!\n"
  99.                       "If you have a 68030/040/060 without FPU, then get one with, or use\n"
  100.                       "the 68020-version.. FPUs increase your system`s speed enourmously!!\n")
  101.               (default #cpu)
  102.      )
  103. )
  104.  
  105. (complete 95)
  106.  
  107. (if (= (exists "LIBS:ixemul.library") 0)
  108.  (message #ix)
  109. )
  110.  
  111. (complete 100)
  112. (message #ready
  113.     #assdir "\n"
  114.          #enjoy
  115. )
  116.